<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ include file="/admin/common.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="<%=basePath %>admin/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath %>admin/css/llcss.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="<%=basePath %>js/jquery/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/js/common.js"></script>
<script type="text/javascript" src="<%=basePath %>js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/js/hd_ll.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/web/production/js/addproduction.js"></script>
<script type="text/javascript">
$(function(){
	$.ajax({
		url:'<%=basePath %>production/list',
		type:'post',
		sync:false,
		success:function(data){
			$(".select_down").empty();
			for (var i = 0; i < data.length; i++) {
				var content='<option value ="'+data[i].id+'"  >'+data[i].name+'</option>';
				$(".select_down").append(content);
			}
		}
	});
});

</script>
<title>添加产品</title>
</head>
<body bgcolor="white">
<%@ include file="/admin/head.jsp"%>
	<!-- main_begin -->
	<div class="pwsj_cont_box">
	<%@ include file="/admin/left.jsp"%>
      <form id="form">
     <div class="pwsj_cont_right_box" scroll="no">
      <div class="pwsj_right_byq" scroll="no">
			<div class="pwsj_right_byq_position" style="margin-bottom:3px;">
				<a href="<%=basePath %>admin/index.jsp" class="position">门户管理</a>&gt;
				<a  class="position">添加产品</a>
				<a class="right" href="<%=basePath%>admin/web/production/productionlist.jsp">返回</a><a class="right" href="javascript:add()" >保存</a>
			</div>
			<!-- 运行参数_begin -->
			<div class="argument_box">
				<!-- 参数标题-begin -->
				<div class="argument_title">
					<p class="title">产品参数</p>
					<a  class="show"></a>
					<div class="clear"></div>
				</div>				
				<!-- 参数标题-end -->
				<!-- 参数内容_begin -->
				<div class="argument_cont_box">
					<ul class="argument_cont_ul">
						<li class="argument_cont_li"><span>系统：</span><input class="text" type="text" id="system" name="system"/><em style="color:red;"> *</em></li>
						<li class="argument_cont_li">
							<span>产品类型：</span>
							<select class="select_down" id="type" name="type">
								<option value="1" selected="selected">配网助手</option>
								<option value="2">配网打啊大</option>
							</select>
							<em style="color:red;"> *</em>
						</li>
						
					    <li class="argument_cont_li"><span>版本：</span><input class="text" type="text" id="version" name="version"/><em style="color:red;"> *</em></li>
						<div class="clear"></div>
					</ul>
					
					<ul class="argument_cont_ul">
					    <li class="argument_cont_li"><span>大小：</span><input class="text" type="text" id="size" name="size"/></li>
					    <li class="argument_cont_li"><span>语言：</span><input class="text" type="text" id="language" name="language"/></li>
					    <li class="argument_cont_li" style="position:relative;"><span>更新日期：</span><input class="text" type="text"  placeholder="请选择日期" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" id="updatetime" name="updatetime"/><img width="16" height="16" src="../../images/select_date.jpg" style="position:absolute; top:12px;left:230px;" /><em style="color:red;"> *</em></li>
						<div class="clear"></div>
					</ul>
					<div class="argument_cont_box" style="border-bottom:1px solid #dedede;" >
					<div class="kzsx_cont_leftbox" style="width: 350px">
						<div class="add_pic" >
					         下载地址：
					   <p> <textarea   id="downloadurl" name="downloadurl" rows="5" cols="33"></textarea><p>
					    </div>
					    </div>
					    
					    <div class="kzsx_cont_rightbox" style="float: left;">
						<div class="right_title" >
						更新说明：
						<p><textarea class="text"  id="updatedesc" name="updatedesc" rows="5" cols="33"> </textarea></p>
						<p><em style="color:red;">提示</em>：输入多条说明时，请以 "|" 分割,<br>如1、修改bug|2、增加功能</p>
						</div>
					    </div>
					    <div class="clear"></div>
					</div>
					
				</div>
				
				
				<!-- 参数内容_end -->
			</div>
			<!-- 运行参数_end -->

			
		</div>	
      
      </div>
      
      
      
      </form>  
    <div class="clear"></div><!-- 清除左右浮动 -->    
   </div>
<%@ include file="/admin/foot.jsp"%>
</body>

</html>